<?php




namespace App\Http\Controllers\Api\Divination;


use App\Http\Controllers\Api\BasicController;
use App\Models\Divination\Tarot;
use GatewayWorker\Lib\Gateway;
use Jiannei\Response\Laravel\Support\Facades\Response;

class PlanetController extends BasicController
{

    protected array $div = ['xingxing'=>10,'xingzuo'=>12,'gong'=>12];
    /**
     * @api {post} /div/quiz 预约&支付
     * @apiDescription
     * @apiHeader {String} Authorization='Bearer '
     */

    public function draw(){
        foreach ($this->div as $k=>$v){
            $result[$k]=mt_rand(1,$v);
        }
        return Response::success($result);
    }

}
